package com.medical.service;
import java.util.List;
import java.util.Map;

import com.medical.po.City;
import com.medical.po.Doctorinfo;
import com.medical.po.DoctorinfoCustom;
import com.medical.po.DoctorinfoQueryVo;
import com.medical.po.DoctorlogininfoCustom;
import com.medical.po.Hospitaldept;
import com.medical.po.HospitaldeptCustom;
import com.medical.po.HosporderCustom;
/**
 * 
 * @author LTT-AH-ZY
 * @date 创建时间：2017年8月15日 上午11:35:23 
 * @version 1.0
 * @parameter 参数及其意义
 * @return 返回值
 * @throws 异常类及抛出条件
 */
public interface DoctorinfoService {
	/**
	 * 
	 * @param doctorinfoQueryVo
	 * @return
	 * @throws Exception
	 */
	public List<DoctorinfoCustom> findItemsList(DoctorinfoQueryVo doctorinfoQueryVo)throws Exception;
	/**
	 * 自定义查询表doctorinfo信息
	 * @param doctorinfoCustom
	 * @return
	 * @throws Exception
	 */
	public List<DoctorinfoCustom> findDoctorList(DoctorinfoCustom doctorinfoCustom)throws Exception;
	/**
	 * 分页查询表doctorinfo
	 * @param doctorinfoCustom
	 * @return
	 * @throws Exception
	 */
	public List<DoctorlogininfoCustom> paginationDoctorList(DoctorlogininfoCustom doctorlogininfoCustom)throws Exception;
	/**
	 * 返回doctorinfo表的数据记录条数
	 * @return
	 * @throws Exception
	 */
	public int countdoctorList()throws Exception;
	/**
	 * 自定义的查询，返回List集合，连接表doctorlogininfo,doctorskd,doctorinfo，封装需要的字段在pojo——DoctorlogininfoCustom中
	 * @param DoctorlogininfoCustom
	 * @return
	 * @throws Exception
	 */
	public List<DoctorlogininfoCustom> findDoctorloginList(DoctorlogininfoCustom DoctorlogininfoCustom)throws Exception;
	/**
	 * 根据主键查询表doctorinfo信息
	 * @param docid
	 * @return
	 * @throws Exception
	 */
	public Doctorinfo  selectByPrimaryKey(int docid)throws Exception;
	/**
	 * 向表doctorinfo插入一条记录信息
	 * @param doctorinfo
	 * @return
	 * @throws Exception
	 */
	public int insertSelective(Doctorinfo doctorinfo)throws Exception;
	/**
	 * 初始化表hosporder，医院订单表
	 * @param hosporderCustom
	 * @return
	 * @throws Exception
	 */
	public List<HosporderCustom> findHospOrderList(HosporderCustom hosporderCustom)throws Exception;
	/**
	 * insert table hosporder 插入表hosporder数据
	 * @param hosporderCustom
	 * @return
	 * @throws Exception
	 */
	public int InsertHospOrder(HosporderCustom hosporderCustom)throws Exception;
	/**
	 * 根据父id和level查询城市list
	 * @param city
	 * @return
	 * @throws Exception
	 */
	public List<City> getCity(City city)throws Exception;
	/**
	 * 根据hospdeptfatherid和hospdeptid初始化部门下拉框
	 * @param hospitaldeptCustom
	 * @return
	 * @throws Exception
	 */
	public List<Hospitaldept> getHospitalDept(Hospitaldept hospitaldept)throws Exception;
}
